package cn.echo.modules.sys.entity;

import cn.echo.common.baseentity.BaseEntity;

import java.io.Serializable;


/**
 * Created by Administrator on 2017/4/12.
 * @author CXM
 * @version 1.0.0
 * @Date 2017/4/12.
 */
public class Article extends BaseEntity implements Serializable {
    private String title;
    private String keywords;
    private User createUser;
    private String description;
    private String logo;
    private String categoryId;
    private String content;
    private long viewCount;
    private long thumbsUpCount;
    private long forwardingCount;

    @Override
    public String toString() {
        return "Article{" +
                "title='" + title + '\'' +
                ", keywords='" + keywords + '\'' +
                ", createUser=" + createUser +
                ", description='" + description + '\'' +
                ", logo='" + logo + '\'' +
                ", categoryId='" + categoryId + '\'' +
                ", content='" + content + '\'' +
                ", viewCount=" + viewCount +
                ", thumbsUpCount=" + thumbsUpCount +
                ", forwardingCount=" + forwardingCount +
                '}';
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public User getCreateUser() {
        return createUser;
    }

    public void setCreateUser(User createUser) {
        this.createUser = createUser;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getViewCount() {
        return viewCount;
    }

    public void setViewCount(long viewCount) {
        this.viewCount = viewCount;
    }

    public long getThumbsUpCount() {
        return thumbsUpCount;
    }

    public void setThumbsUpCount(long thumbsUpCount) {
        this.thumbsUpCount = thumbsUpCount;
    }

    public long getForwardingCount() {
        return forwardingCount;
    }

    public void setForwardingCount(long forwardingCount) {
        this.forwardingCount = forwardingCount;
    }
}
